package com.yj.idempotence.designPatterns.factory;

public class Factory implements FruitFactory {

    @Override
    public Fruit create(String name) {
        return new Apple();
    }
}
